<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/*
 |--------------------------------------------------------------------------
 | File and Directory Modes
 |--------------------------------------------------------------------------
 |
 | These prefs are used when checking and setting modes when working
 | with the file system.  The defaults are fine on servers with proper
 | security, but you may wish (or even need) to change the values in
 | certain environments (Apache running a separate process for each
 | user, PHP under CGI with Apache suEXEC, etc.).  Octal values should
 | always be used to set the mode correctly.
 |
 */

define('FILE_READ_MODE', 0644);
define('FILE_WRITE_MODE', 0666);
define('DIR_READ_MODE', 0755);
define('DIR_WRITE_MODE', 0777);

/*
 |--------------------------------------------------------------------------
 | File Stream Modes
 |--------------------------------------------------------------------------
 |
 | These modes are used when working with fopen()/popen()
 |
 */

define('FOPEN_READ',							'rb');
define('FOPEN_READ_WRITE',						'r+b');
define('FOPEN_WRITE_CREATE_DESTRUCTIVE',		'wb'); // truncates existing file data, use with care
define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE',	'w+b'); // truncates existing file data, use with care
define('FOPEN_WRITE_CREATE',					'ab');
define('FOPEN_READ_WRITE_CREATE',				'a+b');
define('FOPEN_WRITE_CREATE_STRICT',				'xb');
define('FOPEN_READ_WRITE_CREATE_STRICT',		'x+b');

/*
 |--------------------------------------------------------------------------
 | User session
 |--------------------------------------------------------------------------
 |
 | These session are used for user who login, please don't modify
 |
 */

//社团
define('SESSION_SOCIETY_ID', 'session_society_id');     //社团的SESSION ID
define('SESSION_SOCIETY_NAME', 'session_society_name'); //社团的SESSION NAME
define('SESSION_SOCIETY_RE_NAME', 'session_society_re_name'); //社团的注册名
define('SESSION_SOCIETY_RE_PERSON', 'session_society_re_person'); //社团注册人姓名
define('SESSION_SOCIETY_LOGO_THUMB', 'session_society_logo_thumb'); //社团logo thumb
define('SESSION_SOCIETY_CONFIRM_FLAG', 'session_society_confirm_flag');  //社团的SESSION CONFIRM_FLAG

//社联
define('SESSION_ASSOCIATION_ID', 'session_association_id');   //社联成员SESSION ID
define('SESSION_ASSOCIATION_NAME', 'session_association_name'); //社联成员SESSION NAME
define('SESSION_ASSOCIATION_RE_PERSON', 'session_association_re_person'); //社联成员注册人姓名
define('SESSION_ASSOCIATION_CID', 'session_association_cid'); //社联成员SESSION CID
define('SESSION_ASSOCIATION_CONFIRM_FLAG', 'session_association_confirm_flag');  //社联成员SESSION CONFIRM_FLAG
define('SESSION_ASSOCIATION_FUNCTION_FLAG', 'session_association_function_flag');  //社联成员SESSION FUNCTION_FLAG

//社团指导老师
define('SESSION_TEACHER_ID', 'session_teacher_id');       //社团指导老师的SESSION ID
define('SESSION_TEACHER_NAME', 'session_teacher_name');   //社团指导老师的SESSION NAME
define('SESSION_TEACHER_RE_PERSON', 'session_teacher_re_person'); //社团指导老师注册人姓名
define('SESSION_TEACHER_DIRECT_SOCIETY', 'session_teacher_direct_society'); //社团指导老师指导社团名

//管理员
define('SESSION_ADMIN_ID', 'session_admin_id');       //管理员的SESSION ID
define('SESSION_ADMIN_NAME', 'session_admin_name');   //管理员的SESSION NAME
define('SESSION_ADMIN_CID', 'session_admin_cid'); //管理员的SESSION CID

/*
 |--------------------------------------------------------------------------
 | User cookie
 |--------------------------------------------------------------------------
 |
 | These cookie are used for news/society home count as well as user login info, please don't modify
 | Except the constants 'COOKIE_SALT'
 |
 */

define('COOKIE_SALT', 'SHIFLETT');
define('COOKIE_NEWS_READ', COOKIE_SALT . 'news_read');
define('COOKIE_SOCIETY_HOME', COOKIE_SALT . 'society_home');
define('COOKIE_USER_AUTH', COOKIE_SALT . 'user_authentication');


/*
 * --------------------------------------------------------------
 * 网站重要常量
 * --------------------------------------------------------------
 */

//站点Base url应在此处设定，而不是config.php中
define('BASE_URL', 'http://localhost/');

//系统文件夹(若为documentroot则留空)
define('SYSTEM_FOLDER', 'neusal');

//管理员文件夹
define('ADMIN_FOLDER', 'sl');

define('DATABASE_BACKUP_FOLDER', $_SERVER['DOCUMENT_ROOT'] . '/' . SYSTEM_FOLDER . '/data/backupdata/');  //文件夹地址尾需包含'/'
define('USER_UPLOAD_PIC_FOLDER', "uploads/");  //文件夹地址尾需包含'/'
define('PIECEMAKER_CONFIG_FILE', $_SERVER['DOCUMENT_ROOT'] . '/' . SYSTEM_FOLDER . '/plugin/piecemaker/piecemaker.xml');
define('CONSTANTS_CONFIG_FILE', $_SERVER['DOCUMENT_ROOT'] . '/' . SYSTEM_FOLDER . '/application/config/constants.php');
define('DATABASE_CONFIG_FILE', $_SERVER['DOCUMENT_ROOT'] . '/' . SYSTEM_FOLDER . '/application/config/database.php');
define('MAIN_CONFIG_FILE', $_SERVER['DOCUMENT_ROOT'] . '/' . SYSTEM_FOLDER . '/application/config/config.php');
define('CORESEEK_CONFIG_FILE', $_SERVER['DOCUMENT_ROOT'] . '/' . SYSTEM_FOLDER . '/plugin/coreseek/etc/csft.conf');

//站点是否关闭 0:否 1:是
define('SITE_CLOSE', 0);
define('SITE_CLOSE_REASON', '站点定期维护中');
//////////////////////////////////////////////////

/*
 * ----------------------------------------------------------------
 * 功能定制
 * ----------------------------------------------------------------
 */

define('SOCIETY_NEWS_COUNT', 0);      //社团（未审核0 审核未通过1）可维护的新闻数据量
define('CONFIRMED_SOCIETY_NEWS_COUNT', 50);      //社团（已审核2）可维护的新闻数据量
define('ASSOCIATION_NEWS_COUNT', 0);  //社联（未审核0 审核未通过1）可维护的新闻数据量
define('CONFIRMED_ASSOCIATION_NEWS_COUNT', 100);  //社联（已审核2）可维护的新闻数据量

define('SOCIETY_ANNOUNCEMENT_COUNT', 0);      //社团（未审核0 审核未通过1）可维护的新闻数据量
define('CONFIRMED_SOCIETY_ANNOUNCEMENT_COUNT', 20);      //社团（已审核2）可维护的新闻数据量
define('ASSOCIATION_ANNOUNCEMENT_COUNT', 0);  //社联（未审核0 审核未通过1）可维护的新闻数据量
define('CONFIRMED_ASSOCIATION_ANNOUNCEMENT_COUNT', 50);  //社联（已审核2）可维护的新闻数据量

define('SOCIETY_LOGO', 1);//1:logo
define('SOCIETY_LOGO_CHS', 'LOGO图片');
define('SOCIETY_LOGO_RATIO', '1:1');//1:logo ratio
define('SOCIETY_LOGO_COUNT', 1);//1:logo数量

define('SOCIETY_BANNER', 2);//2:banner
define('SOCIETY_BANNER_CHS', '横幅图片');
define('SOCIETY_BANNER_RATIO', '16:9');//3:banner ratio
define('SOCIETY_BANNER_COUNT', 1);//2:banner数量

define('SOCIETY_SHOW', 3);//3:风采图片
define('SOCIETY_SHOW_CHS', '风采展图片');
define('SOCIETY_SHOW_RATIO', '4:3');//3:show ratio
define('SOCIETY_SHOW_COUNT', 5);//3:风采图片数量


/*
 * --------------------------------------------------------------
 * 用户类别
 * --------------------------------------------------------------
 */

define('SOCIETY', 'society');
define('ASSOCIATION', 'association');
define('TEACHER', 'teacher');
define('ADMIN', 'admin');
define('SOCIETY_CHS', '社团');
define('ASSOCIATION_CHS', '社联成员');
define('TEACHER_CHS', '指导老师');
define('ADMIN_CHS', '管理员');

define('SOCIETY_UCID', 1);
define('ASSOCIATION_UCID', 2);
define('TEACHER_UCID', 3);
define('ADMIN_UCID', 4);

//社团
define('SOCIETY_CATEGORY_01_CHS', '人文艺术');
define('SOCIETY_CATEGORY_02_CHS', '志愿服务');
define('SOCIETY_CATEGORY_03_CHS', '科技创新');
define('SOCIETY_CATEGORY_04_CHS', '理论学术');
define('SOCIETY_CATEGORY_05_CHS', '体育竞技');
define('SOCIETY_CATEGORY_06_CHS', '创业实践');
define('SOCIETY_CATEGORY_07_CHS', '艺术团');

//社联
define('ASSOCIATION_XCB_CID', 1);
define('ASSOCIATION_XCB_NAME', '宣传部');

define('ASSOCIATION_WLJSB_CID', 2);
define('ASSOCIATION_WLJSB_NAME', '网络技术部');

define('ASSOCIATION_CHB_CID', 3);
define('ASSOCIATION_CHB_NAME', '策划部');

define('ASSOCIATION_STGLB_CID', 4);
define('ASSOCIATION_STGLB_NAME', '社团管理部');

define('ASSOCIATION_ZZB_CID', 5);
define('ASSOCIATION_ZZB_NAME', '组织部');

define('ASSOCIATION_BGS_CID', 6);
define('ASSOCIATION_BGS_NAME', '办公室');

//管理员
define('ADMIN_TEACHER_CID', 7);
define('ADMIN_TEACHER_NAME', '团委老师');

define('ADMIN_SUPER_CID', 8);
define('ADMIN_SUPER_NAME', '超级管理员');

/*
 * --------------------------------------------------------------
 * 用户状态
 * --------------------------------------------------------------
 */

//社团
define('SOCIETY_TO_VERIFY', '0;0;0');
define('SOCIETY_TO_VERIFY_CHS', '待初审');

define('SOCIETY_TRIAL_PASS', '2;0;0');
define('SOCIETY_TRIAL_PASS_CHS', '初审成功');

define('SOCIETY_TRIAL_FAIL', '1;0;0');
define('SOCIETY_TRIAL_FAIL_CHS', '初审失败');

define('SOCIETY_REVIEW_PASS', '2;2;0');
define('SOCIETY_REVIEW_PASS_CHS', '复审成功');

define('SOCIETY_REVIEW_FAIL', '2;1;0');
define('SOCIETY_REVIEW_FAIL_CHS', '复审失败');

define('SOCIETY_FINAL_PASS', '2;2;2');
define('SOCIETY_FINAL_PASS_CHS', '终审成功');

define('SOCIETY_FINAL_FAIL', '2;2;1');
define('SOCIETY_FINAL_FAIL_CHS', '终审失败');

//社联
define('ASSOCIATION_TO_VERIFY', 0);
define('ASSOCIATION_TO_VERIFY_CHS', '待审核');

define('ASSOCIATION_VERIFY_FAIL', 1);
define('ASSOCIATION_VERIFY_FAIL_CHS', '审核失败');

define('ASSOCIATION_VERIFY_PASS', 2);
define('ASSOCIATION_VERIFY_PASS_CHS', '审核成功');

define('NOT_FUNCTION', 0);
define('NOT_FUNCTION_CHS', '普通账号');
define('IS_FUNCTION', 1);
define('IS_FUNCTION_CHS', '功能账号');

/*
 * --------------------------------------------------------------
 * 网站内容
 * --------------------------------------------------------------
 */
define('NEWS_TYPE', 1);
define('ANNOUNCEMENT_TYPE', 2);
define('KNOWLEDGE_TYPE', 3);

define('NOT_PUBLISHED', 1);
define('NOT_PUBLISHED_CHS', '未发布');

define('IS_PUBLISHED', 2);
define('IS_PUBLISHED_CHS', '已发布');

define('DESC', 'DESC'); //倒序
define('ASC', 'ASC'); //正序

define('PER_PAGE', 10);

define('SOCIETY_FESTIVAL_VIDEO', '&lt;embed src="http://player.youku.com/player.php/sid/XMjk2NjAxNDQw/v.swf" allowFullScreen="true" quality="high" width="480" height="400" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"&gt;&lt;/embed>');

define('SOCIETY_REGISTER_README', '一、由管理部通知各社团负责人就注册时间、地点、所需证件（若有社团负责人更换情况，则需前任和现任两位负责人同时到场）；<br />二、社团负责人填写《东北大学学生社团注册登记表》，交由指导老师及指导团委盖章后交回学生社团联合会；<br />三、由社联认证并统一交给校团委老师盖章；校团委老师批准后正式注册完成。');//society_register_readme
define('ASSOCIATION_REGISTER_README', '一、由管理部通知各社团负责人就注册时间、地点、所需证件（若有社团负责人更换情况，则需前任和现任两位负责人同时到场）；<br />二、社团负责人填写《东北大学学生社团注册登记表》，交由指导老师及指导团委盖章后交回学生社团联合会；<br />三、由社联认证并统一交给校团委老师盖章；校团委老师批准后正式注册完成。');//association_register_readme

/*
 * --------------------------------------------------------------
 * 网站相关常量设定
 * --------------------------------------------------------------
 */
define('SITE_NAME_FULL', 'NEUSAL - 东北大学学生社团联合会');     //站点全名
define('SITE_NAME_ENG', 'NEUSAL - ');                //站点英文名
define('SITE_NAME_CHS', '东北大学学生社团联合会 - ');    //站点中文名
define('SITE_TITLE_CHS', ' - 东大社联网');    //站点标题名
define('SITE_ERROR_404', SITE_NAME_ENG . '无法找到该页面');
define('SITE_AUTHOR_NAME_ENG', 'QianxunZhang');    //站点作者英文名

//站点主菜单链接
define('MENU_TAB_A', '1');
define('MENU_TAB_A_NAME', '首页');
define('MENU_TAB_A_PATH', BASE_URL);

define('MENU_TAB_B', '2');
define('MENU_TAB_B_NAME', '东大社联');
define('MENU_TAB_B_PATH', BASE_URL . 'index.php/frontend/association/about');

define('MENU_TAB_C', '3');
define('MENU_TAB_C_NAME', '文化节');
define('MENU_TAB_C_PATH', BASE_URL . 'index.php/frontend/society/society_festival');

define('MENU_TAB_D', '4');
define('MENU_TAB_D_NAME', '社联新闻');
define('MENU_TAB_D_PATH', BASE_URL . 'index.php/frontend/association/news_list');

define('MENU_TAB_E', '5');
define('MENU_TAB_E_NAME', '社团动态');
define('MENU_TAB_E_PATH', BASE_URL . 'index.php/frontend/society/news_list');

define('MENU_TAB_F', '6');
define('MENU_TAB_F_NAME', '东大社团');
define('MENU_TAB_F_PATH', BASE_URL . 'index.php/frontend/society/society_list');

//网站前台常用链接常量
define('REGISTER_PATH', BASE_URL . 'index.php/frontend/register');
define('LOGIN_PATH', BASE_URL . 'index.php/frontend/login/index/');
define('SOCIETY_LOGIN_PATH', BASE_URL . 'index.php/frontend/login/index/society');
define('ASSOCIATION_LOGIN_PATH', BASE_URL . 'index.php/frontend/login/index/association');
define('TEACHER_LOGIN_PATH', BASE_URL . 'index.php/frontend/login/index/teacher');

define('SOCIETY_HOME_PATH', BASE_URL . 'index.php/frontend/society/home/');
define('SOCIETY_CATEGORY_INTRO_PATH', BASE_URL . 'index.php/frontend/society/category_intro/');

define('SOCIETY_NEWS_LIST_PATH', BASE_URL . 'index.php/frontend/society/news_list/');
define('SOCIETY_NEWS_DETAIL_PATH', BASE_URL . 'index.php/frontend/society/news_detail/');

define('ASSOCIATION_ABOUT_PATH', BASE_URL . 'index.php/frontend/association/about/');

define('ASSOCIATION_NEWS_LIST_PATH', BASE_URL . 'index.php/frontend/association/news_list/');
define('ASSOCIATION_NEWS_DETAIL_PATH', BASE_URL . 'index.php/frontend/association/news_detail/');

define('ADVANCED_SEARCH_PATH', BASE_URL . 'index.php/frontend/search/advanced_search');
///////////////////////////////////////

//网站后台常用链接常量
//社团
define('BACKEND_SOCIETY_PATH', BASE_URL . 'index.php/backend/society');

define('BACKEND_SOCIETY_UPDATE_INFO_PATH', BASE_URL . 'index.php/backend/society/update_info');
define('BACKEND_SOCIETY_UPDATE_INFO_POST_PATH', BASE_URL . 'index.php/backend/society/main/save_new_info');

define('BACKEND_SOCIETY_CHANGE_PASSWORD_PATH', BASE_URL . 'index.php/backend/society/show_change_password');
define('BACKEND_SOCIETY_CHANGE_PASSWORD_POST_PATH', BASE_URL . 'index.php/backend/society/main/change_password');

define('BACKEND_SOCIETY_CHANGE_EMAIL_PATH', BASE_URL . 'index.php/backend/society/show_change_email');
define('BACKEND_SOCIETY_CHANGE_EMAIL_POST_PATH', BASE_URL . 'index.php/backend/society/main/change_email');

define('BACKEND_SOCIETY_FILE_MANAGE_PATH', BASE_URL . 'index.php/backend/society/file/manage');

define('BACKEND_SOCIETY_UPLOAD_PATH', BASE_URL . 'index.php/backend/society/upload/upload_init/');
define('BACKEND_SOCIETY_UPLOAD_DELETE_PATH', BASE_URL . 'index.php/backend/society/upload/delete/');

define('BACKEND_SOCIETY_NEWS_LIST_PATH', BASE_URL . 'index.php/backend/society/news/lists');
define('BACKEND_SOCIETY_NEWS_EDIT_PATH', BASE_URL . 'index.php/backend/society/news/edit/');
define('BACKEND_SOCIETY_NEWS_EDIT_POST_PATH', BASE_URL . 'index.php/backend/society/news/save_edit');
define('BACKEND_SOCIETY_NEWS_PREVIEW_PATH', BASE_URL . 'index.php/backend/society/news/preview/');
define('BACKEND_SOCIETY_NEWS_PUBLISH_PATH', BASE_URL . 'index.php/backend/society/news/publish_draft/');
define('BACKEND_SOCIETY_NEWS_DELETE_PATH', BASE_URL . 'index.php/backend/society/news/delete/');

define('BACKEND_SOCIETY_ANNOUNCEMENT_LIST_PATH', BASE_URL . 'index.php/backend/society/announcement/lists');
define('BACKEND_SOCIETY_ANNOUNCEMENT_EDIT_PATH', BASE_URL . 'index.php/backend/society/announcement/edit/');
define('BACKEND_SOCIETY_ANNOUNCEMENT_EDIT_POST_PATH', BASE_URL . 'index.php/backend/society/announcement/save_edit');
define('BACKEND_SOCIETY_ANNOUNCEMENT_PREVIEW_PATH', BASE_URL . 'index.php/backend/society/announcement/preview/');
define('BACKEND_SOCIETY_ANNOUNCEMENT_PUBLISH_PATH', BASE_URL . 'index.php/backend/society/announcement/publish_draft/');
define('BACKEND_SOCIETY_ANNOUNCEMENT_DELETE_PATH', BASE_URL . 'index.php/backend/society/announcement/delete/');
//////////////////////////////////////////////////////////

//社联
define('BACKEND_ASSOCIATION_PATH', BASE_URL . 'index.php/backend/association');

define('BACKEND_ASSOCIATION_UPDATE_INFO_PATH', BASE_URL . 'index.php/backend/association/update_info');
define('BACKEND_ASSOCIATION_UPDATE_INFO_POST_PATH', BASE_URL . 'index.php/backend/association/main/save_new_info');

define('BACKEND_ASSOCIATION_CHANGE_PASSWORD_PATH', BASE_URL . 'index.php/backend/association/show_change_password');
define('BACKEND_ASSOCIATION_CHANGE_PASSWORD_POST_PATH', BASE_URL . 'index.php/backend/association/main/change_password');

define('BACKEND_ASSOCIATION_CHANGE_EMAIL_PATH', BASE_URL . 'index.php/backend/association/show_change_email');
define('BACKEND_ASSOCIATION_CHANGE_EMAIL_POST_PATH', BASE_URL . 'index.php/backend/association/main/change_email');

define('BACKEND_ASSOCIATION_FILE_MANAGE_PATH', BASE_URL . 'index.php/backend/association/file/manage');

define('BACKEND_ASSOCIATION_EMPLOYEE_SEARCH_PATH', BASE_URL . 'index.php/backend/association/employee/manage');

define('BACKEND_ASSOCIATION_VERIFY_PATH', BASE_URL . 'index.php/backend/association/verify/index');

define('BACKEND_ASSOCIATION_NEWS_LIST_PATH', BASE_URL . 'index.php/backend/association/news/lists');
define('BACKEND_ASSOCIATION_NEWS_EDIT_PATH', BASE_URL . 'index.php/backend/association/news/edit/');
define('BACKEND_ASSOCIATION_NEWS_EDIT_POST_PATH', BASE_URL . 'index.php/backend/association/news/save_edit');
define('BACKEND_ASSOCIATION_NEWS_PREVIEW_PATH', BASE_URL . 'index.php/backend/association/news/preview/');
define('BACKEND_ASSOCIATION_NEWS_PUBLISH_PATH', BASE_URL . 'index.php/backend/association/news/publish_draft/');
define('BACKEND_ASSOCIATION_NEWS_DELETE_PATH', BASE_URL . 'index.php/backend/association/news/delete/');

define('BACKEND_ASSOCIATION_ANNOUNCEMENT_LIST_PATH', BASE_URL . 'index.php/backend/association/announcement/lists');
define('BACKEND_ASSOCIATION_ANNOUNCEMENT_EDIT_PATH', BASE_URL . 'index.php/backend/association/announcement/edit/');
define('BACKEND_ASSOCIATION_ANNOUNCEMENT_EDIT_POST_PATH', BASE_URL . 'index.php/backend/association/announcement/save_edit');
define('BACKEND_ASSOCIATION_ANNOUNCEMENT_PREVIEW_PATH', BASE_URL . 'index.php/backend/association/announcement/preview/');
define('BACKEND_ASSOCIATION_ANNOUNCEMENT_PUBLISH_PATH', BASE_URL . 'index.php/backend/association/announcement/publish_draft/');
define('BACKEND_ASSOCIATION_ANNOUNCEMENT_DELETE_PATH', BASE_URL . 'index.php/backend/association/announcement/delete/');
///////////////////////////////////////////////////////////

//老师
define('BACKEND_TEACHER_PATH', BASE_URL . 'index.php/backend/teacher');

define('BACKEND_TEACHER_UPDATE_INFO_PATH', BASE_URL . 'index.php/backend/teacher/update_info');
define('BACKEND_TEACHER_UPDATE_INFO_POST_PATH', BASE_URL . 'index.php/backend/teacher/main/save_new_info');

define('BACKEND_TEACHER_CHANGE_PASSWORD_PATH', BASE_URL . 'index.php/backend/teacher/show_change_password');
define('BACKEND_TEACHER_CHANGE_PASSWORD_POST_PATH', BASE_URL . 'index.php/backend/teacher/main/change_password');

define('BACKEND_TEACHER_CHANGE_EMAIL_PATH', BASE_URL . 'index.php/backend/teacher/show_change_email');
define('BACKEND_TEACHER_CHANGE_EMAIL_POST_PATH', BASE_URL . 'index.php/backend/teacher/main/change_email');
///////////////////////////////////////////////////////////

//管理员
define('BACKEND_ADMIN_PATH', BASE_URL . 'index.php/' . ADMIN_FOLDER . '/admin/index');
/////////////////////////////////////////////////

//主要CSS、JS
define('MAIN_CSS', BASE_URL . 'css/');
define('MAIN_JS', BASE_URL . 'js/');
define('MAIN_IMG', BASE_URL . 'images/');

//管理员后台CSS、JS
define('ADMIN_CSS', BASE_URL . 'admin_style/css/');
define('ADMIN_JS', BASE_URL . 'admin_style/js/');
define('ADMIN_APP_JS', BASE_URL . 'admin_style/js/app/');
define('ADMIN_IMG', BASE_URL . 'admin_style/images/');

//网站插件
define('PLUGIN_JQUERY', BASE_URL . 'plugin/jquery/jquery-1.7.1.min.js');

define('PLUGIN_HEADER_NAV_BUTTON_CSS', BASE_URL . 'plugin/header-nav/css/button.css');
define('PLUGIN_HEADER_NAV_SEARCH_CSS', BASE_URL . 'plugin/header-nav/css/search_form.css');
define('PLUGIN_HEADER_NAV_LOGIN_CSS', BASE_URL . 'plugin/header-nav/css/login_form.css');
define('PLUGIN_HEADER_NAV_SEARCH_JS', BASE_URL . 'plugin/header-nav/js/jquery.search.js');
define('PLUGIN_HEADER_NAV_LOGIN_JS', BASE_URL . 'plugin/header-nav/js/jquery.login.js');
define('PLUGIN_HEADER_NAV_TIP_JS', BASE_URL . 'plugin/header-nav/js/jquery.tipsy.js');

define('PLUGIN_VALIDATES_CSS', BASE_URL . 'plugin/validates/css/validationEngine.jquery.css');
define('PLUGIN_VALIDATES_CORE_JS', BASE_URL . 'plugin/validates/js/jquery.validationEngine.js');
define('PLUGIN_VALIDATES_JS', BASE_URL . 'plugin/validates/js/');

define('PLUGIN_UI_CSS', BASE_URL . 'plugin/jquery-ui/css/ui-lightness/jquery-ui-1.8.16.custom.css');
define('PLUGIN_UI_JS', BASE_URL . 'plugin/jquery-ui/js/jquery-ui-1.8.16.custom.min.js');

define('PLUGIN_LIGHTBOX_CSS', BASE_URL . 'plugin/colorbox/css/colorbox.css');
define('PLUGIN_LIGHTBOX_JS', BASE_URL . 'plugin/colorbox/js/jquery.colorbox.js');

define('PLUGIN_CROP_CSS', BASE_URL . 'plugin/crop/css/jquery.Jcrop.css');
define('PLUGIN_CROP_JS', BASE_URL . 'plugin/crop/js/jquery.Jcrop.min.js');

define('PLUGIN_SLIDES_MAIN_CSS', BASE_URL . 'plugin/nivo-slider/nivo-slider.css');
define('PLUGIN_SLIDES_THEME_CSS', BASE_URL . 'plugin/nivo-slider/themes/default/default.css');
define('PLUGIN_SLIDES_JS', BASE_URL . 'plugin/nivo-slider/jquery.nivo.slider.pack.js');

define('PLUGIN_SPIN_MAIN_JS', BASE_URL . 'plugin/spin/spin.min.js');
define('PLUGIN_SPIN_CUSTOM_JS', BASE_URL . 'plugin/spin/jquery.spin.js');

define('PLUGIN_ROTATER', BASE_URL . 'plugin/piecemaker/');

define('PLUGIN_HIGHLIGHT', BASE_URL . 'plugin/highlight/jquery.highlight.js');

define('PLUGIN_CKEDITOR_JS', BASE_URL . 'plugin/ckeditor/ckeditor.js');
define('PLUGIN_CKFINDER_JS', BASE_URL . 'plugin/ckfinder/ckfinder.js');
define('PLUGIN_CKFINDER_HTML', BASE_URL . 'plugin/ckfinder/ckfinder.html');
define('PLUGIN_CKFINDER_FOLDER', BASE_URL . 'plugin/ckfinder/');

define('PLUGIN_PAGINATION_JS', BASE_URL . 'plugin/pagination/js/jquery.pagination.js');
define('PLUGIN_PAGINATION_CSS', BASE_URL . 'plugin/pagination/css/pagination.css');

define('PLUGIN_SPHINX', '/plugin/coreseek/api/sphinxapi.php');

/* End of file constants.php */
/* Location: ./application/config/constants.php */